<script setup>
import { RouterView } from 'vue-router'
</script>

<template>
  <router-view v-slot="{ Component }">
    <transition name="fade" mode="out-in">
      <component :is="Component" />
    </transition>
  </router-view>
</template>

<style scoped lang="scss">
*
{
  color: #333333;
  font-family: 'AlibabaPuHuiTi-3-55-Regular';
} 

.fade-enter-active,
.fade-leave-active 
{
  transition: opacity 0.5s ease;
}

.fade-enter-from,
.fade-leave-to 
{
  opacity: 0;
}
</style>
